package cn.com.dhcc.ddi.task.vo;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiNotDbColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

import java.util.Date;

/**
 * ETL任务—交换表信息
 * @日期：2016/11/15 15:30
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "t_ddi_task_tab")
public class TaskTab extends ModuleFeatureBean {
    @SiColumn(isId = true)
    private String id;
    @SiColumn(name = "task_id")
    private String taskId;//任务id
    @SiColumn(name = "table_id")
    private String tableId;//表id
    @SiColumn(name = "where_condition")
    private String whereCondition;//where过滤条件
    @SiColumn(name = "tab_order")
    private String tabOrder;//表顺序号
    private Date mtime;
    @SiColumn(name = "extr_start_value")
    private String startValue;//数据抽取起始值
    @SiColumn(name = "extr_end_value")
    private String endValue;//数据抽取截止值

	@SiNotDbColumn
    private String tableName;//表名
	@SiNotDbColumn
    private String tableType;//表类型，是否使用增量字段  
	@SiNotDbColumn
    private String schema;//表类型，是否使用增量字段  


    public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getWhereCondition() {
        return whereCondition;
    }

    public void setWhereCondition(String whereCondition) {
        this.whereCondition = whereCondition;
    }

    public String getTabOrder() {
        return tabOrder;
    }

    public void setTabOrder(String tabOrder) {
        this.tabOrder = tabOrder;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }
    
    public String getStartValue() {
		return startValue;
	}

	public void setStartValue(String startTime) {
		this.startValue = startTime;
	}
	
	public String getEndValue() {
		return endValue;
	}

	public void setEndValue(String endValue) {
		this.endValue = endValue;
	}

	public String getTableType() {
		return tableType;
	}

	public void setTableType(String tableType) {
		this.tableType = tableType;
	}

	public String getSchema() {
		return schema;
	}

	public void setSchema(String schema) {
		this.schema = schema;
	}
	
	
}
